import request from '../utils/request'
// 登录接口:需要一个对象参数下面的参数是解构对象
export const loginApi = ({ mobile, code }) => {
  return request({
    url: '/v1_0/authorizations',
    method: 'POST',
    data: {
      mobile,
      code

    }
  })
}
